package com.xyzisme76.pojo;

public class Sc {
    private int sid;
    private String sno;
    private String cno;
    private int grade;

    public Sc(int sid, String sno, String cno, int grade) {
        this.sid=sid;
        this.cno = cno;
        this.sno = sno;
        this.grade = grade;
    }
    public Sc(String sno, String cno, int grade) {
        this.cno = cno;
        this.sno = sno;
        this.grade = grade;
    }
    public Sc(String sno, String cno) {
        this.cno = cno;
        this.sno = sno;
    }
    public String getCno() {
        return cno;
    }

    public int getSid() {
        return sid;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getSno() {
        return sno;
    }


    public void setSno(String sno) {
        this.sno = sno;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Sc{" +
                "cno=" + cno +
                ", sno=" + sno +
                ", grade=" + grade +
                '}';
    }
}
